function fixShowcaseUrl(){$("a").each(function(){$(this).attr("href","javascript:void(0)")})}function checkSlideProportion(){window.innerWidth<=1200&&$(".inner-content-slide .item .item-img").each(function(){var e=$(this).data("img-width"),t=$(this).data("img-height"),n=$(".inner-content-slide").width()*t/e;$(this).css("height",n)})}function YoutubeUrlToEmbedUrl(e){var t=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/,n=e.match(t);return n&&11==n[2].length?"//www.youtube.com/embed/"+n[2]:e}!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(T,e){function s(e){var t=!!e&&"length"in e&&e.length,n=pe.type(e);return"function"!==n&&!pe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0"!==d[1]||Ye.test(a)?0:l:l.firstChild)&&a.childNodes.length;o--;)pe.nodeName(c=a.childNodes[o],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(pe.merge(h,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=p.lastChild}else h.push(t.createTextNode(a));for(l&&p.removeChild(l),de.appendChecked||pe.grep(y(h,"input"),b),m=0;a=h[m++];)if(i&&-1")).appendTo(t.documentElement))[0].contentWindow||ct[0].contentDocument).document).write(),t.close(),n=D(e,t),ct.detach()),dt[e]=n),n}function L(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function H(e){if(e in St)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=Et.length;n--;)if((e=Et[n]+t)in St)return e}function _(e,t){for(var n,i,r,o=[],a=0,s=e.length;aC.cacheLength&&delete n[i.shift()],n[e+" "]=t}var i=[];return n}function l(e){return e[F]=!0,e}function r(e){var t=H.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function t(e,t){for(var n=e.split("|"),i=n.length;i--;)C.attrHandle[n[i]]=t}function u(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||V)-(~e.sourceIndex||V);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function i(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function o(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function a(a){return l(function(o){return o=+o,l(function(e,t){for(var n,i=a([],e.length,o),r=i.length;r--;)e[n=i[r]]&&(e[n]=!(t[n]=e[n]))})})}function m(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function s(){}function g(e){for(var t=0,n=e.length,i="";t+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(oe),fe=new RegExp("^"+ie+"$"),pe={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie+"|[*])"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,be=/'|\\/g,xe=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},Ce=function(){L()};try{Z.apply(Q=J.call(W.childNodes),W.childNodes),Q[W.childNodes.length].nodeType}catch(Te){Z={apply:Q.length?function(e,t){G.apply(e,J.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}for(h in y=x.support={},k=x.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},L=x.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:W;return i!==H&&9===i.nodeType&&i.documentElement&&(_=(H=i).documentElement,O=!k(H),(n=H.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ce,!1):n.attachEvent&&n.attachEvent("onunload",Ce)),y.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),y.getElementsByTagName=r(function(e){return e.appendChild(H.createComment("")),!e.getElementsByTagName("*").length}),y.getElementsByClassName=ge.test(H.getElementsByClassName),y.getById=r(function(e){return _.appendChild(e).id=F,!H.getElementsByName||!H.getElementsByName(F).length}),y.getById?(C.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&O){var n=t.getElementById(e);return n?[n]:[]}},C.filter.ID=function(e){var t=e.replace(xe,we);return function(e){return e.getAttribute("id")===t}}):(delete C.find.ID,C.filter.ID=function(e){var n=e.replace(xe,we);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}}),C.find.TAG=y.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):y.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},C.find.CLASS=y.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&O)return t.getElementsByClassName(e)},P=[],q=[],(y.qsa=ge.test(H.querySelectorAll))&&(r(function(e){_.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||q.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+F+"-]").length||q.push("~="),e.querySelectorAll(":checked").length||q.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||q.push(".#.+[+~]")}),r(function(e){var t=H.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&q.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),q.push(",.*:")})),(y.matchesSelector=ge.test(R=_.matches||_.webkitMatchesSelector||_.mozMatchesSelector||_.oMatchesSelector||_.msMatchesSelector))&&r(function(e){y.disconnectedMatch=R.call(e,"div"),R.call(e,"[s!='']:x"),P.push("!=",oe)}),q=q.length&&new RegExp(q.join("|")),P=P.length&&new RegExp(P.join("|")),t=ge.test(_.compareDocumentPosition),M=t||ge.test(_.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},U=t?function(e,t){if(e===t)return A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!y.sortDetached&&t.compareDocumentPosition(e)===n?e===H||e.ownerDocument===W&&M(W,e)?-1:t===H||t.ownerDocument===W&&M(W,t)?1:D?ee(D,e)-ee(D,t):0:4&n?-1:1)}:function(e,t){if(e===t)return A=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!r||!o)return e===H?-1:t===H?1:r?-1:o?1:D?ee(D,e)-ee(D,t):0;if(r===o)return u(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?u(a[i],s[i]):a[i]===W?-1:s[i]===W?1:0}),H},x.matches=function(e,t){return x(e,null,null,t)},x.matchesSelector=function(e,t){if((e.ownerDocument||e)!==H&&L(e),t=t.replace(ce,"='$1']"),y.matchesSelector&&O&&!X[t+" "]&&(!P||!P.test(t))&&(!q||!q.test(t)))try{var n=R.call(e,t);if(n||y.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(Te){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(xe,we),e[3]=(e[3]||e[4]||e[5]||"").replace(xe,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||x.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&x.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=E(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xe,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,i,r){return function(e){var t=x.attr(e,n);return null==t?"!="===i:!i||(t+="","="===i?t===r:"!="===i?t!==r:"^="===i?r&&0===t.indexOf(r):"*="===i?r&&-1(?:<\/\1>|)$/,Te=/^.[^:#\[\.,]*$/;pe.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?pe.find.matchesSelector(i,e)?[i]:[]:pe.find.matches(e,pe.grep(t,function(e){return 1===e.nodeType}))},pe.fn.extend({find:function(e){var t,n=[],i=this,r=i.length;if("string"!=typeof e)return this.pushStack(pe(e).filter(function(){for(t=0;t)[^>]*|#([\w-]*))$/;(pe.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||ke,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):pe.isFunction(e)?"undefined"!=typeof n.ready?n.ready(e):e(pe):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),pe.makeArray(e,this));if(!(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:Ee.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof pe?t[0]:t,pe.merge(this,pe.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:ie,!0)),Ce.test(i[1])&&pe.isPlainObject(t))for(i in t)pe.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}if((r=ie.getElementById(i[2]))&&r.parentNode){if(r.id!==i[2])return ke.find(e);this.length=1,this[0]=r}return this.context=ie,this.selector=e,this}).prototype=pe.fn,ke=pe(ie);var Se=/^(?:parents|prev(?:Until|All))/,je={children:!0,contents:!0,next:!0,prev:!0};pe.fn.extend({has:function(e){var t,n=pe(e,this),i=n.length;return this.filter(function(){for(t=0;t
a",de.leadingWhitespace=3===qe.firstChild.nodeType,de.tbody=!qe.getElementsByTagName("tbody").length,de.htmlSerialize=!!qe.getElementsByTagName("link").length,de.html5Clone="<:nav>"!==ie.createElement("nav").cloneNode(!0).outerHTML,Re.type="checkbox",Re.checked=!0,Pe.appendChild(Re),de.appendChecked=Re.checked,qe.innerHTML="",de.noCloneChecked=!!qe.cloneNode(!0).lastChild.defaultValue,Pe.appendChild(qe),(Re=ie.createElement("input")).setAttribute("type","radio"),Re.setAttribute("checked","checked"),Re.setAttribute("name","t"),qe.appendChild(Re),de.checkClone=qe.cloneNode(!0).cloneNode(!0).lastChild.checked,de.noCloneEvent=!!qe.addEventListener,qe[pe.expando]=1,de.attributes=!qe.getAttribute(pe.expando);var Ke={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:de.htmlSerialize?[0,"",""]:[1,"X
","
"]};Ke.optgroup=Ke.option,Ke.tbody=Ke.tfoot=Ke.colgroup=Ke.caption=Ke.thead,Ke.th=Ke.td;var Qe=/<|&#?\w+;/,Ye=/]","i"),rt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ot=/\s*$/g,ut=g(ie).appendChild(ie.createElement("div"));pe.extend({htmlPrefilter:function(e){return e.replace(rt,"<$1>")},clone:function(e,t,n){var i,r,o,a,s,l=pe.contains(e.ownerDocument,e);if(de.html5Clone||pe.isXMLDoc(e)||!it.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(ut.innerHTML=e.outerHTML,ut.removeChild(o=ut.firstChild)),!(de.noCloneEvent&&de.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||pe.isXMLDoc(e)))for(i=y(o),s=y(e),a=0;null!=(r=s[a]);++a)i[a]&&S(r,i[a]);if(t)if(n)for(s=s||y(e),i=i||y(o),a=0;null!=(r=s[a]);a++)E(r,i[a]);else E(e,o);return 0<(i=y(o,"script")).length&&v(i,!l&&y(e,"script")),i=s=r=null,o},cleanData:function(e,t){for(var n,i,r,o,a=0,s=pe.expando,l=pe.cache,u=de.attributes,c=pe.event.special;null!=(n=e[a]);a++)if((t||He(n))&&(o=(r=n[s])&&l[r])){if(o.events)for(i in o.events)c[i]?pe.event.remove(n,i):pe.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u||"undefined"==typeof n.removeAttribute?n[s]=undefined:n.removeAttribute(s),ne.push(r))}}}),pe.fn.extend({domManip:j,detach:function(e){return N(this,e,!0)},remove:function(e){return N(this,e)},text:function(e){return Be(this,function(e){return e===undefined?pe.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ie).createTextNode(e))},null,e,arguments.length)},append:function(){return j(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||w(this,e).appendChild(e)})},prepend:function(){return j(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=w(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return j(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return j(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&pe.cleanData(y(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&pe.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return pe.clone(this,e,t)})},html:function(e){return Be(this,function(e){var t=this[0]||{},n=0,i=this.length;if(e===undefined)return 1===t.nodeType?t.innerHTML.replace(nt,""):undefined;if("string"==typeof e&&!ot.test(e)&&(de.htmlSerialize||!it.test(e))&&(de.leadingWhitespace||!Ue.test(e))&&!Ke[(ze.exec(e)||["",""])[1].toLowerCase()]){e=pe.htmlPrefilter(e);try{for(;nt",c.childNodes[0].style.borderCollapse="separate",(e=c.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(a=0===e[0].offsetHeight)&&(e[0].style.display="",e[1].style.display="none",a=0===e[0].offsetHeight)),n.removeChild(u)}var i,r,o,a,s,l,u=ie.createElement("div"),c=ie.createElement("div");c.style&&(c.style.cssText="float:left;opacity:.5",de.opacity="0.5"===c.style.opacity,de.cssFloat=!!c.style.cssFloat,c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",de.clearCloneStyle="content-box"===c.style.backgroundClip,(u=ie.createElement("div")).style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",c.innerHTML="",u.appendChild(c),de.boxSizing=""===c.style.boxSizing||""===c.style.MozBoxSizing||""===c.style.WebkitBoxSizing,pe.extend(de,{reliableHiddenOffsets:function(){return null==i&&e(),a},boxSizingReliable:function(){return null==i&&e(),o},pixelMarginRight:function(){return null==i&&e(),r},pixelPosition:function(){return null==i&&e(),i},reliableMarginRight:function(){return null==i&&e(),s},reliableMarginLeft:function(){return null==i&&e(),l}}))}();var gt,yt,vt=/^(top|right|bottom|left)$/;T.getComputedStyle?(gt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=T),t.getComputedStyle(e)},yt=function(e,t,n){var i,r,o,a,s=e.style;return""!==(a=(n=n||gt(e))?n.getPropertyValue(t)||n[t]:undefined)&&a!==undefined||pe.contains(e.ownerDocument,e)||(a=pe.style(e,t)),n&&!de.pixelMarginRight()&&pt.test(a)&&ft.test(t)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o),a===undefined?a:a+""}):mt.currentStyle&&(gt=function(e){return e.currentStyle},yt=function(e,t,n){var i,r,o,a,s=e.style;return null==(a=(n=n||gt(e))?n[t]:undefined)&&s&&s[t]&&(a=s[t]),pt.test(a)&&!vt.test(t)&&(i=s.left,(o=(r=e.runtimeStyle)&&r.left)&&(r.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=i,o&&(r.left=o)),a===undefined?a:a+""||"auto"});var bt=/alpha\([^)]*\)/i,xt=/opacity\s*=\s*([^)]*)/i,wt=/^(none|table(?!-c[ea]).+)/,Ct=new RegExp("^("+Me+")(.*)$","i"),Tt={position:"absolute",visibility:"hidden",display:"block"},kt={letterSpacing:"0",fontWeight:"400"},Et=["Webkit","O","Moz","ms"],St=ie.createElement("div").style;pe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=yt(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":de.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,a,s=pe.camelCase(t),l=e.style;if(t=pe.cssProps[s]||(pe.cssProps[s]=H(s)||s),a=pe.cssHooks[t]||pe.cssHooks[s],n===undefined)return a&&"get"in a&&(r=a.get(e,!1,i))!==undefined?r:l[t];if("string"===(o=typeof n)&&(r=Fe.exec(n))&&r[1]&&(n=d(e,t,r),o="number"),null!=n&&n==n&&("number"===o&&(n+=r&&r[3]||(pe.cssNumber[s]?"":"px")),de.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(a&&"set"in a&&(n=a.set(e,n,i))===undefined)))try{l[t]=n}catch(u){}}},css:function(e,t,n,i){var r,o,a,s=pe.camelCase(t);return t=pe.cssProps[s]||(pe.cssProps[s]=H(s)||s),(a=pe.cssHooks[t]||pe.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),o===undefined&&(o=yt(e,t,i)),"normal"===o&&t in kt&&(o=kt[t]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),pe.each(["height","width"],function(e,r){pe.cssHooks[r]={get:function(e,t,n){if(t)return wt.test(pe.css(e,"display"))&&0===e.offsetWidth?ht(e,Tt,function(){return P(e,r,n)}):P(e,r,n)},set:function(e,t,n){var i=n&>(e);return O(e,t,n?q(e,r,n,de.boxSizing&&"border-box"===pe.css(e,"boxSizing",!1,i),i):0)}}}),de.opacity||(pe.cssHooks.opacity={get:function(e,t){return xt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,r=pe.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=i&&i.filter||n.filter||"";((n.zoom=1)<=t||""===t)&&""===pe.trim(o.replace(bt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=bt.test(o)?o.replace(bt,r):o+" "+r)}}),pe.cssHooks.marginRight=L(de.reliableMarginRight,function(e,t){if(t)return ht(e,{display:"inline-block"},yt,[e,"marginRight"])}),pe.cssHooks.marginLeft=L(de.reliableMarginLeft,function(e,t){if(t)return(parseFloat(yt(e,"marginLeft"))||(pe.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-ht(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),pe.each({margin:"",padding:"",border:"Width"},function(r,o){pe.cssHooks[r+o]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[r+We[t]+o]=i[t]||i[t-2]||i[0];return n}},ft.test(r)||(pe.cssHooks[r+o].set=O)}),pe.fn.extend({css:function(e,t){return Be(this,function(e,t,n){var i,r,o={},a=0;if(pe.isArray(t)){for(i=gt(e),r=t.length;a
a",Dt=Lt.getElementsByTagName("a")[0],At.setAttribute("type","checkbox"),Lt.appendChild(At),(Dt=Lt.getElementsByTagName("a")[0]).style.cssText="top:1px",de.getSetAttribute="t"!==Lt.className,de.style=/top/.test(Dt.getAttribute("style")),de.hrefNormalized="/a"===Dt.getAttribute("href"),de.checkOn=!!At.value,de.optSelected=_t.selected,de.enctype=!!ie.createElement("form").enctype,Ht.disabled=!0,de.optDisabled=!_t.disabled,(At=ie.createElement("input")).setAttribute("value",""),de.input=""===At.getAttribute("value"),At.value="t",At.setAttribute("type","radio"),de.radioValue="t"===At.value;var Pt=/\r/g,Rt=/[\x20\t\r\n\f]+/g;pe.fn.extend({val:function(n){var i,e,r,t=this[0];return arguments.length?(r=pe.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=r?n.call(this,e,pe(this).val()):n)?t="":"number"==typeof t?t+="":pe.isArray(t)&&(t=pe.map(t,function(e){return null==e?"":e+""})),(i=pe.valHooks[this.type]||pe.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&i.set(this,t,"value")!==undefined||(this.value=t))})):t?(i=pe.valHooks[t.type]||pe.valHooks[t.nodeName.toLowerCase()])&&"get"in i&&(e=i.get(t,"value"))!==undefined?e:"string"==typeof(e=t.value)?e.replace(Pt,""):null==e?"":e:void 0}}),pe.extend({valHooks:{option:{get:function(e){var t=pe.find.attr(e,"value");return null!=t?t:pe.trim(pe.text(e)).replace(Rt," ")}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,o="select-one"===e.type||r<0,a=o?null:[],s=o?r+1:i.length,l=r<0?s:o?r:0;l").append(pe.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},pe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){pe.fn[t]=function(e){return this.on(t,e)}}),pe.expr.filters.animated=function(t){return pe.grep(pe.timers,function(e){return t===e.elem}).length},pe.offset={setOffset:function(e,t,n){var i,r,o,a,s,l,u=pe.css(e,"position"),c=pe(e),d={};"static"===u&&(e.style.position="relative"),s=c.offset(),o=pe.css(e,"top"),l=pe.css(e,"left"),("absolute"===u||"fixed"===u)&&-1'),s='';o===l||r===l||u.isCrossDomain(t)||(s+=''),i&&a.attr("target",i),a.hide().append(s).appendTo("body"),a.submit()},formElements:function(e,t){return e.is("form")?c(e[0].elements).filter(t):e.find(t)},disableFormElements:function(e){u.formElements(e,u.disableSelector).each(function(){u.disableFormElement(c(this))})},disableFormElement:function(e){var t,n;t=e.is("button")?"html":"val",(n=e.data("disable-with"))!==l&&(e.data("ujs:enable-with",e[t]()),e[t](n)),e.prop("disabled",!0),e.data("ujs:disabled",!0)},enableFormElements:function(e){u.formElements(e,u.enableSelector).each(function(){u.enableFormElement(c(this))})},enableFormElement:function(e){var t=e.is("button")?"html":"val";e.data("ujs:enable-with")!==l&&(e[t](e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.prop("disabled",!1),e.removeData("ujs:disabled")},allowAction:function(e){var t,n=e.data("confirm"),i=!1;if(!n)return!0;if(u.fire(e,"confirm")){try{i=u.confirm(n)}catch(r){(console.error||console.log).call(console,r.stack||r)}t=u.fire(e,"confirm:complete",[i])}return i&&t},blankInputs:function(e,t,n){var i,r,o,a=c(),s=t||"input,textarea",l=e.find(s),u={};return l.each(function(){(i=c(this)).is("input[type=radio]")?(o=i.attr("name"),u[o]||(0===e.find('input[type=radio]:checked[name="'+o+'"]').length&&(r=e.find('input[type=radio][name="'+o+'"]'),a=a.add(r)),u[o]=o)):(i.is("input[type=checkbox],input[type=radio]")?i.is(":checked"):!!i.val())===n&&(a=a.add(i))}),!!a.length&&a},nonBlankInputs:function(e,t){return u.blankInputs(e,t,!0)},stopEverything:function(e){return c(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(e){var t=e.data("disable-with");t!==l&&(e.data("ujs:enable-with",e.html()),e.html(t)),e.bind("click.railsDisable",function(e){return u.stopEverything(e)}),e.data("ujs:disabled",!0)},enableElement:function(e){e.data("ujs:enable-with")!==l&&(e.html(e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.unbind("click.railsDisable"),e.removeData("ujs:disabled")}},u.fire(e,"rails:attachBindings")&&(c.ajaxPrefilter(function(e,t,n){e.crossDomain||u.CSRFProtection(n)}),c(window).on("pageshow.rails",function(){c(c.rails.enableSelector).each(function(){var e=c(this);e.data("ujs:disabled")&&c.rails.enableFormElement(e)}),c(c.rails.linkDisableSelector).each(function(){var e=c(this);e.data("ujs:disabled")&&c.rails.enableElement(e)})}),e.on("ajax:complete",u.linkDisableSelector,function(){u.enableElement(c(this))}),e.on("ajax:complete",u.buttonDisableSelector,function(){u.enableFormElement(c(this))}),e.on("click.rails",u.linkClickSelector,function(e){var t=c(this),n=t.data("method"),i=t.data("params"),r=e.metaKey||e.ctrlKey;if(!u.allowAction(t))return u.stopEverything(e);if(!r&&t.is(u.linkDisableSelector)&&u.disableElement(t),u.isRemote(t)){if(r&&(!n||"GET"===n)&&!i)return!0;var o=u.handleRemote(t);return!1===o?u.enableElement(t):o.fail(function(){u.enableElement(t)}),!1}return n?(u.handleMethod(t),!1):void 0}),e.on("click.rails",u.buttonClickSelector,function(e){var t=c(this);if(!u.allowAction(t)||!u.isRemote(t))return u.stopEverything(e);t.is(u.buttonDisableSelector)&&u.disableFormElement(t);var n=u.handleRemote(t);return!1===n?u.enableFormElement(t):n.fail(function(){u.enableFormElement(t)}),!1}),e.on("change.rails",u.inputChangeSelector,function(e){var t=c(this);return u.allowAction(t)&&u.isRemote(t)?(u.handleRemote(t),!1):u.stopEverything(e)}),e.on("submit.rails",u.formSubmitSelector,function(e){var t,n,i=c(this),r=u.isRemote(i);if(!u.allowAction(i))return u.stopEverything(e);if(i.attr("novalidate")===l)if(i.data("ujs:formnovalidate-button")===l){if((t=u.blankInputs(i,u.requiredInputSelector,!1))&&u.fire(i,"ajax:aborted:required",[t]))return u.stopEverything(e)}else i.data("ujs:formnovalidate-button",l);if(r){if(n=u.nonBlankInputs(i,u.fileInputSelector)){setTimeout(function(){u.disableFormElements(i)},13);var o=u.fire(i,"ajax:aborted:file",[n]);return o||setTimeout(function(){u.enableFormElements(i)},13),o}return u.handleRemote(i),!1}setTimeout(function(){u.disableFormElements(i)},13)}),e.on("click.rails",u.formInputClickSelector,function(e){var t=c(this);if(!u.allowAction(t))return u.stopEverything(e);var n=t.attr("name"),i=n?{name:n,value:t.val()}:null,r=t.closest("form");0===r.length&&(r=c("#"+t.attr("form"))),r.data("ujs:submit-button",i),r.data("ujs:formnovalidate-button",t.attr("formnovalidate")),r.data("ujs:submit-button-formaction",t.attr("formaction")),r.data("ujs:submit-button-formmethod",t.attr("formmethod"))}),e.on("ajax:send.rails",u.formSubmitSelector,function(e){this===e.target&&u.disableFormElements(c(this))}),e.on("ajax:complete.rails",u.formSubmitSelector,function(e){this===e.target&&u.enableFormElements(c(this))}),c(function(){u.refreshCSRFTokens()}))}(jQuery),function(r,n,q,f){"use strict";var o=q("html"),a=q(r),u=q(n),P=q.fancybox=function(){P.open.apply(this,arguments)},s=navigator.userAgent.match(/msie/i),l=null,c=n.createTouch!==f,p=function(e){return e&&e.hasOwnProperty&&e instanceof q},h=function(e){return e&&"string"===q.type(e)},R=function(e){return h(e)&&0e.clientWidth||e.clientHeight&&e.scrollHeight>e.clientHeight)},M=function(e,t){var n=parseInt(e,10)||0;return t&&R(e)&&(n=P.getViewport()[t]/100*n),Math.ceil(n)},F=function(e,t){return M(e,t)+"px"};q.extend(P,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!c,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'
',image:'',iframe:'",error:'

The requested content cannot be loaded.
Please try again later.

',closeBtn:'',next:'',prev:''},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:q.noop,beforeLoad:q.noop,afterLoad:q.noop,beforeShow:q.noop,afterShow:q.noop,beforeChange:q.noop,beforeClose:q.noop,afterClose:q.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(c,d){if(c&&(q.isPlainObject(d)||(d={}),!1!==P.close(!0)))return q.isArray(c)||(c=p(c)?q(c).get():[c]),q.each(c,function(e,t){var n,i,r,o,a,s,l,u={};"object"===q.type(t)&&(t.nodeType&&(t=q(t)),p(t)?(u={href:t.data("fancybox-href")||t.attr("href"),title:t.data("fancybox-title")||t.attr("title"),isDom:!0,element:t},q.metadata&&q.extend(!0,u,t.metadata())):u=t),n=d.href||u.href||(h(t)?t:null),i=d.title!==f?d.title:u.title||"",!(o=(r=d.content||u.content)?"html":d.type||u.type)&&u.isDom&&((o=t.data("fancybox-type"))||(o=(a=t.prop("class").match(/fancybox\.(\w+)/))?a[1]:null)),h(n)&&(o||(P.isImage(n)?o="image":P.isSWF(n)?o="swf":"#"===n.charAt(0)?o="inline":h(t)&&(o="html",r=t)),"ajax"===o&&(n=(s=n.split(/\s+/,2)).shift(),l=s.shift())),r||("inline"===o?n?r=q(h(n)?n.replace(/.*(?=#[^\s]+$)/,""):n):u.isDom&&(r=t):"html"===o?r=n:o||n||!u.isDom||(o="inline",r=t)),q.extend(u,{href:n,type:o,content:r,title:i,selector:l}),c[e]=u}),P.opts=q.extend(!0,{},P.defaults,d),d.keys!==f&&(P.opts.keys=!!d.keys&&q.extend({},P.defaults.keys,d.keys)),P.group=c,P._start(P.opts.index)},cancel:function(){var e=P.coming;e&&!1!==P.trigger("onCancel")&&(P.hideLoading(),P.ajaxLoad&&P.ajaxLoad.abort(),P.ajaxLoad=null,P.imgPreload&&(P.imgPreload.onload=P.imgPreload.onerror=null),e.wrap&&e.wrap.stop(!0,!0).trigger("onReset").remove(),P.coming=null,P.current||P._afterZoomOut(e))},close:function(e){P.cancel(),!1!==P.trigger("beforeClose")&&(P.unbindEvents(),P.isActive&&(P.isOpen&&!0!==e?(P.isOpen=P.isOpened=!1,P.isClosing=!0,q(".fancybox-item, .fancybox-nav").remove(),P.wrap.stop(!0,!0).removeClass("fancybox-opened"),P.transitions[P.current.closeMethod]()):(q(".fancybox-wrap").stop(!0).trigger("onReset").remove(),P._afterZoomOut())))},play:function(e){var t=function(){clearTimeout(P.player.timer)},n=function(){t(),P.current&&P.player.isActive&&(P.player.timer=setTimeout(P.next,P.current.playSpeed))},i=function(){t(),u.unbind(".player"),P.player.isActive=!1,P.trigger("onPlayEnd")},r=function(){P.current&&(P.current.loop||P.current.index=i.index?"next":"prev"],P.router=n||"jumpto",i.loop&&(e<0&&(e=i.group.length+e%i.group.length),e%=i.group.length),i.group[e]!==f&&(P.cancel(),P._start(e)))},reposition:function(e,t){var n,i=P.current,r=i?i.wrap:null;r&&(n=P._getPosition(t),e&&"scroll"===e.type?(delete n.position,r.stop(!0,!0).animate(n,200)):(r.css(n),i.pos=q.extend({},i.dim,n)))},update:function(t){var n=t&&t.type,i=!n||"orientationchange"===n;i&&(clearTimeout(l),l=null),P.isOpen&&!l&&(l=setTimeout(function(){var e=P.current;e&&!P.isClosing&&(P.wrap.removeClass("fancybox-tmp"),(i||"load"===n||"resize"===n&&e.autoResize)&&P._setDimension(),"scroll"===n&&e.canShrink||P.reposition(t),P.trigger("onUpdate"),l=null)},i&&!c?0:300))},toggle:function(e){P.isOpen&&(P.current.fitToView="boolean"===q.type(e)?e:!P.current.fitToView,c&&(P.wrap.removeAttr("style").addClass("fancybox-tmp"),P.trigger("onUpdate")),P.update())},hideLoading:function(){u.unbind(".loading"),q("#fancybox-loading").remove()},showLoading:function(){var e,t;P.hideLoading(),e=q('
').click(P.cancel).appendTo("body"),u.bind("keydown.loading",function(e){27===(e.which||e.keyCode)&&(e.preventDefault(),P.cancel())}),P.defaults.fixed||(t=P.getViewport(),e.css({position:"absolute",top:.5*t.h+t.y,left:.5*t.w+t.x}))},getViewport:function(){var e=P.current&&P.current.locked||!1,t={x:a.scrollLeft(),y:a.scrollTop()};return e?(t.w=e[0].clientWidth,t.h=e[0].clientHeight):(t.w=c&&r.innerWidth?r.innerWidth:a.width(),t.h=c&&r.innerHeight?r.innerHeight:a.height()),t},unbindEvents:function(){P.wrap&&p(P.wrap)&&P.wrap.unbind(".fb"),u.unbind(".fb"),a.unbind(".fb")},bindEvents:function(){var t,s=P.current;s&&(a.bind("orientationchange.fb"+(c?"":" resize.fb")+(s.autoCenter&&!s.locked?" scroll.fb":""),P.update),(t=s.keys)&&u.bind("keydown.fb",function(n){var i=n.which||n.keyCode,e=n.target||n.srcElement;if(27===i&&P.coming)return!1;n.ctrlKey||n.altKey||n.shiftKey||n.metaKey||e&&(e.type||q(e).is("[contenteditable]"))||q.each(t,function(e,t){return 1").html(n).find(e.selector):p(n)&&(n.data(l)||n.data(l,q('
').insertAfter(n).hide()),n=n.show().detach(),e.wrap.bind("onReset",function(){q(this).find(n).length&&n.hide().replaceAll(n.data(l)).data(l,!1)}));break;case"image":n=e.tpl.image.replace("{href}",r);break;case"swf":n='',o="",q.each(e.swf,function(e,t){n+='',o+=" "+e+'="'+t+'"'}),n+='"}p(n)&&n.parent().is(e.inner)||e.inner.append(n),P.trigger("beforeShow"),e.inner.css("overflow","yes"===i?"scroll":"no"===i?"hidden":i),P._setDimension(),P.reposition(),P.isOpen=!1,P.coming=null,P.bindEvents(),P.isOpened?s.prevMethod&&P.transitions[s.prevMethod]():q(".fancybox-wrap").not(e.wrap).stop(!0).trigger("onReset").remove(),P.transitions[P.isOpened?e.nextMethod:e.openMethod](),P._preloadImages()}},_setDimension:function(){var e,t,n,i,r,o,a,s,l,u,c,d,f,p,h,m=P.getViewport(),g=0,y=!1,v=!1,b=P.wrap,x=P.skin,w=P.inner,C=P.current,T=C.width,k=C.height,E=C.minWidth,S=C.minHeight,j=C.maxWidth,N=C.maxHeight,D=C.scrolling,A=C.scrollOutside?C.scrollbarWidth:0,L=C.margin,H=M(L[1]+L[3]),_=M(L[0]+L[2]);if(b.add(x).add(w).width("auto").height("auto").removeClass("fancybox-tmp"),n=H+(e=M(x.outerWidth(!0)-x.width())),i=_+(t=M(x.outerHeight(!0)-x.height())),r=R(T)?(m.w-n)*M(T)/100:T,o=R(k)?(m.h-i)*M(k)/100:k,"iframe"===C.type){if(p=C.content,C.autoHeight&&1===p.data("ready"))try{p[0].contentWindow.document.location&&(w.width(r).height(9999),h=p.contents().find("body"),A&&h.css("overflow-x","hidden"),o=h.outerHeight(!0))}catch(O){}}else(C.autoWidth||C.autoHeight)&&(w.addClass("fancybox-tmp"),C.autoWidth||w.width(r),C.autoHeight||w.height(o),C.autoWidth&&(r=w.width()),C.autoHeight&&(o=w.height()),w.removeClass("fancybox-tmp"));if(T=M(r),k=M(o),l=r/o,E=M(R(E)?M(E,"w")-n:E),j=M(R(j)?M(j,"w")-n:j),S=M(R(S)?M(S,"h")-i:S),a=j,s=N=M(R(N)?M(N,"h")-i:N),C.fitToView&&(j=Math.min(m.w-n,j),N=Math.min(m.h-i,N)),d=m.w-H,f=m.h-_,C.aspectRatio?(j').appendTo(P.coming?P.coming.parent:e.parent),this.fixed=!1,e.fixed&&P.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(e){var t=this;e=q.extend({},this.defaults,e),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(e),this.fixed||(a.bind("resize.overlay",q.proxy(this.update,this)),this.update()),e.closeClick&&this.overlay.bind("click.overlay",function(e){if(q(e.target).hasClass("fancybox-overlay"))return P.isActive?P.close():t.close(),!1}),this.overlay.css(e.css).show()},close:function(){var e,t;a.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(q(".fancybox-margin").removeClass("fancybox-margin"),e=a.scrollTop(),t=a.scrollLeft(),this.el.removeClass("fancybox-lock"),a.scrollTop(e).scrollLeft(t)),q(".fancybox-overlay").remove().hide(),q.extend(this,{overlay:null,fixed:!1})},update:function(){var e,t="100%";this.overlay.width(t).height("100%"),s?(e=Math.max(n.documentElement.offsetWidth,n.body.offsetWidth),u.width()>e&&(t=u.width())):u.width()>a.width()&&(t=u.width()),this.overlay.width(t).height(u.height())},onReady:function(e,t){var n=this.overlay;q(".fancybox-overlay").stop(!0,!0),n||this.create(e),e.locked&&this.fixed&&t.fixed&&(n||(this.margin=u.height()>a.height()&&q("html").css("margin-right").replace("px","")),t.locked=this.overlay.append(t.wrap),t.fixed=!1),!0===e.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(e,t){var n,i;t.locked&&(!1!==this.margin&&(q("*").filter(function(){return"fixed"===q(this).css("position")&&!q(this).hasClass("fancybox-overlay")&&!q(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),n=a.scrollTop(),i=a.scrollLeft(),this.el.addClass("fancybox-lock"),a.scrollTop(n).scrollLeft(i)),this.open(e)},onUpdate:function(){this.fixed||this.update()},afterClose:function(e){this.overlay&&!P.coming&&this.overlay.fadeOut(e.speedOut,q.proxy(this.close,this))}},P.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(e){var t,n,i=P.current,r=i.title,o=e.type;if(q.isFunction(r)&&(r=r.call(i.element,i)),h(r)&&""!==q.trim(r)){switch(t=q('
'+r+"
"),o){case"inside":n=P.skin;break;case"outside":n=P.wrap;break;case"over":n=P.inner;break;default:n=P.skin,t.appendTo("body"),s&&t.width(t.width()),t.wrapInner(''),P.current.margin[2]+=Math.abs(M(t.css("margin-bottom")))}t["top"===e.position?"prependTo":"appendTo"](n)}}},q.fn.fancybox=function(o){var a,s=q(this),l=this.selector||"",e=function(e){var t,n,i=q(this).blur(),r=a;e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||i.is(".fancybox-wrap")||(t=o.groupAttr||"data-fancybox-group",(n=i.attr(t))||(t="rel",n=i.get(0)[t]),n&&""!==n&&"nofollow"!==n&&(r=(i=(i=l.length?q(l):s).filter("["+t+'="'+n+'"]')).index(this)),o.index=r,!1!==P.open(i,o)&&e.preventDefault())};return a=(o=o||{}).index||0,l&&!1!==o.live?u.undelegate(l,"click.fb-start").delegate(l+":not('.fancybox-item, .fancybox-nav')","click.fb-start",e):s.unbind("click.fb-start").bind("click.fb-start",e),this.filter("[data-fancybox-start=1]").trigger("click"),this},u.ready(function(){var e,t,n,i;q.scrollbarWidth===f&&(q.scrollbarWidth=function(){var e=q('
').appendTo("body"),t=e.children(),n=t.innerWidth()-t.height(99).innerWidth();return e.remove(),n}),q.support.fixedPosition===f&&(q.support.fixedPosition=(n=q('
').appendTo("body"),i=20===n[0].offsetTop||15===n[0].offsetTop,n.remove(),i)),q.extend(P.defaults,{scrollbarWidth:q.scrollbarWidth(),fixed:q.support.fixedPosition,parent:q("body")}),e=q(r).width(),o.addClass("fancybox-lock-test"),t=q(r).width(),o.removeClass("fancybox-lock-test"),q("").appendTo("head")})}(window,document,jQuery),function(i){var r=i.fancybox;r.helpers.buttons={defaults:{skipSingle:!1,position:"top",tpl:'
'},list:null,buttons:null,beforeLoad:function(e,t){if(e.skipSingle&&t.group.length<2)return t.helpers.buttons=!1,void(t.closeBtn=!0);t.margin["bottom"===e.position?2:0]+=30},onPlayStart:function(){this.buttons&&this.buttons.play.attr("title","Pause slideshow").addClass("btnPlayOn")},onPlayEnd:function(){this.buttons&&this.buttons.play.attr("title","Start slideshow").removeClass("btnPlayOn")},afterShow:function(e,t){var n=this.buttons;n||(this.list=i(e.tpl).addClass(e.position).appendTo("body"),n={prev:this.list.find(".btnPrev").click(r.prev),next:this.list.find(".btnNext").click(r.next),play:this.list.find( ".btnPlay").click(r.play),toggle:this.list.find(".btnToggle").click(r.toggle),close:this.list.find(".btnClose").click(r.close)}),0';this.wrap=u('
').addClass(e.position).appendTo("body"),this.list=u("
    "+n+"
").appendTo(this.wrap),u.each(t.group,function(o){var e=i(t.group[o]);e&&u("").load(function(){var e,t,n,i=this.width,r=this.height;a.list&&i&&r&&(e=i/s,t=r/l,n=a.list.children().eq(o).find("a"),1<=e&&1<=t&&(t